import request from '@/utils/request'

export function getList(params) {
  return request.post('buss/leave/list', params)
}

export function approveList(params) {
  return request.post('buss/leave/approve/list', params)
}

export function doneList(params) {
  return request.post('buss/leave/his/list', params)
}

export function startItem(params) {
  return request.post('buss/leave/start', params)
}

export function completeItem(params) {
  return request.post('buss/leave/complete', params)
}

export function saveItem(params) {
  return request.post('buss/leave/save', params)
}

export function delItem(params) {
  return request.post('buss/leave/del', null, params)
}
